.myCoupon {
  .statusTabs {
    height: 122px;
    background: #ffffff;

    position: fixed;
    z-index: 99;
    width: 100%;

    .tabs {
      justify-content: space-around;
    }
  }

  .wrap {
    width: 100%;

    background: #f2f2f3;
    overflow: scroll;

    margin-top: 122px;
  }

  .coupon {
    width: 100%;
    font-size: 0;

    display: flex;
    flex-direction: column;

    .clean-white {
      font-size: 0;
      line-height: 0;
    }

    .omit {
      overflow: hidden;
      display: inline-block;
      word-break: keep-all;
      width: 100%;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .no-coupon-wrap {
      padding: 220px 0 0 0;

      .no-coupon {
        display: flex;
        flex-direction: column;
        align-items: center;

        .empty-coupon {
          width: 450px;
          height: 260px;
        }

        .desc {
          margin-top: 20px;
          font-size: 28px;
          font-weight: 400;
          color: rgba(0, 0, 0, 0.85);
        }
      }

      .btn-bottom {
        width: 100%;
        height: 92px;

        .btn {
          background: rgba(255, 220, 38, 1);
          border-radius: 10px;
          font-size: 28px;
          font-weight: bold;
          color: rgba(0, 0, 0, 0.85);
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .btn.button-hover {
          background: rgba(255, 220, 38, 0.78);
        }

        .btn::after {
          border: none;
        }
      }
    }
  }

  .coupon-info {
    height: 40px;
    font-size: 28px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.85);
    line-height: 40px;
    overflow: hidden;
    word-break: keep-all;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .coupon-time-range {
    .time-range {
      height: 30px;
      font-size: 22px;
      font-weight: 400;
      color: #999999;
      line-height: 30px;
      margin-top: 10px;

      &.will-expire {
        display: flex;
        align-items: center;

        .will-expire-right {
          display: flex;
          margin-left: 14px;

          width: 122px;
          justify-content: space-around;
          align-items: center;

          .outer {
            width: 32px;
            height: 29px;
            background: #e02020;
            border-radius: 8px;

            display: flex;
            justify-content: center;
            align-items: center;

            .inner {
              font-size: 22px;
              font-weight: bold;
              color: #ffffff;
            }
          }

          .points {
            height: 16px;
            width: 5px;
          }
        }
      }
    }
  }

  .coupon-price {
    &.use {
      margin-top: 16px;
    }

    height: 55px;
    font-weight: bold;
    display: flex;
    justify-content: center;

    .unit {
      height: 100%;
      display: flex;
      align-items: flex-end;
      font-size: 27px;
      margin-right: 6px;
    }
    .price {
      height: 100%;
      display: flex;
      align-items: center;
      font-size: 50px;
      letter-spacing: -2px;
    }

    &.off {
      .unit {
        font-size: 50px;
        align-items: center;
      }

      .price {
        align-items: flex-end;
        font-size: 30px;
      }
    }
  }

  .coupon-discount {
    height: 33px;
    font-size: 24px;
    color: #999999;
    line-height: 33px;
  }

  .coupon-use {
    margin-top: 23px;
    width: 140px;
    height: 50px;
    border-radius: 25px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 2px solid #ff8d1b;
    border-radius: 27px;

    .btn {
      font-size: 24px;
      font-weight: bold;
    }
  }

  .coupon-item {
    width: 702px;
    height: 220px;

    margin: 20px auto 0;

    background-image: url("../images/coupon/gotItem.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;

    display: flex;

    &.more {
      position: relative;
      box-shadow: 0px 14px 20px #e4e4e4;
    }

    .watermark {
      display: none;
    }

    .left {
      width: 465px;
      height: 100%;

      display: flex;
      flex-direction: column;

      position: relative;

      .arrowAre {
        position: absolute;
        bottom: 19px;
        left: 355px;
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        .arrow {
          width: 16px;
          height: 10px;
        }
      }

      .explain-info {
        position: absolute;
        bottom: 19px;
        left: 32px;
        height: 30px;
        font-size: 22px;
        font-weight: 400;
        color: #999999;
        line-height: 30px;
      }

      .coupon-info {
        margin: 28px 20px 0 30px;
      }

      .coupon-time-range {
        .time-range {
          margin-left: 32px;
        }
      }
    }

    .right {
      width: 235px;
      box-sizing: border-box;
      padding-left: 5px;

      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  }

  .coupon-item-takeout {
    width: 702px;
    height: 230px;

    margin: 20px auto 0;

    background-image: url("../images/coupon/gotItem2.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-sizing: border-box;
    padding: 30px 0 25px 30px;

    &.more {
      position: relative;
      box-shadow: 0px 14px 20px #e4e4e4;
    }

    .top {
      width: 100%;
      height: 105px;
      display: flex;
      flex-shrink: 0;
      .left {
        width: 80px;
        height: 100%;
        .logo {
          width: 80px;
          height: 80px;
          border-radius: 4px;
        }
      }
      .middle {
        margin-left: 20px;
        width: 346px;
        height: 100%;
        display: flex;
        flex-direction: column;
        .coupon-time-range {
          display: flex;
        }
      }
      .right {
        flex: 1;
        height: 100%;
        display: flex;
        justify-content: center;
        .rightCon {
          display: flex;
          flex-direction: column;
        }
      }
    }
    .bottom {
      width: 100%;
      height: 70px;
      position: relative;
      flex-shrink: 0;
      .arrowAre {
        position: absolute;
        bottom: 0;
        left: 325px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        .arrow {
          width: 16px;
          height: 10px;
        }
      }
      .explain-info {
        position: absolute;
        bottom: 0px;
        left: 2px;
        height: 30px;
        font-size: 22px;
        font-weight: 400;
        color: #999999;
        line-height: 30px;
      }
      .coupon-use {
        margin-top: 0;
        position: absolute;
        bottom: 0;
        right: 45px;
      }
    }
  }

  .more-info {
    width: 702px;
    background: white;
    border-radius: 0 0 15px 15px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px 0 20px 22px;

    display: flex;
    flex-direction: column;

    .more-info-item {
      height: 30px;
      font-size: 22px;
      font-weight: 400;
      color: #999999;
      line-height: 30px;
      width: unset;
      &.line {
        margin-top: 5px;
      }
    }
  }

  .end {
    width: 100%;
    height: 28px;
    margin: 6px 0 16px 0;
    display: flex;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.25);
    line-height: 28px;
  }

  .btnBox {
    z-index: 99;
    font-size: 0;
    height: 158px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    .btn {
      width: 682px;
      height: 92px;
      border-radius: 45px;

      color: #ffffff;
      font-size: 28px;
      font-weight: bold;
      line-height: 91px;
    }
  }

  .used,
  .expired {
    .coupon-item,
    .coupon-item-takeout {
      position: relative;
      .watermark {
        display: inline-block;
        width: 111px;
        height: 81px;

        position: absolute;
        top: 0;
        left: 118px;
      }
      .unit {
        color: #bfbfbf;
      }
      .price {
        color: #bfbfbf;
      }
      .min-amount {
        color: #bfbfbf;
      }
    }
  }

  .couponItem:last-child {
    margin-bottom: 20px;
  }
}
